package com.test.practice.oo.finalStatic;

public class FinalTest4 {

    public void f1(final int i) {
        /**
         * The final local variable i cannot be assigned. It must be blank and
         * not using a compound assignment
         * i是final类型的,值不允许改变的.
         */
        // i = 5;
        System.out.println(i);
    }

    public static void main(String[] args) {
        new FinalTest4().f1(5);
    }
}
